package net.factoryOpen.quickfactory.manufacturing.ehs.mapper;

import java.util.List;
import net.factoryOpen.quickfactory.manufacturing.ehs.domain.EhsPowerFoodieCategory;

/**
 * 电耗设备分类Mapper接口
 * 
 * @author factoryOpen
 * @date 2024-07-04
 */
public interface EhsPowerFoodieCategoryMapper 
{
    /**
     * 查询电耗设备分类
     * 
     * @param id 电耗设备分类主键
     * @return 电耗设备分类
     */
    public EhsPowerFoodieCategory selectEhsPowerFoodieCategoryById(Long id);

    /**
     * 查询电耗设备分类列表
     * 
     * @param ehsPowerFoodieCategory 电耗设备分类
     * @return 电耗设备分类集合
     */
    public List<EhsPowerFoodieCategory> selectEhsPowerFoodieCategoryList(EhsPowerFoodieCategory ehsPowerFoodieCategory);

    /**
     * 新增电耗设备分类
     * 
     * @param ehsPowerFoodieCategory 电耗设备分类
     * @return 结果
     */
    public int insertEhsPowerFoodieCategory(EhsPowerFoodieCategory ehsPowerFoodieCategory);

    /**
     * 修改电耗设备分类
     * 
     * @param ehsPowerFoodieCategory 电耗设备分类
     * @return 结果
     */
    public int updateEhsPowerFoodieCategory(EhsPowerFoodieCategory ehsPowerFoodieCategory);

    /**
     * 删除电耗设备分类
     * 
     * @param id 电耗设备分类主键
     * @return 结果
     */
    public int deleteEhsPowerFoodieCategoryById(Long id);

    /**
     * 批量删除电耗设备分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEhsPowerFoodieCategoryByIds(Long[] ids);
}
